import { history } from 'umi';
import React from 'react';
import { NavBar, Empty } from 'react-vant';
import './grab.less';

const goBack = () => {
  history.back();
}

export default function GrabEmptyPage() {
  return (
    <div className='grab'>
      <NavBar title='附近抢单' leftText='返回' onClickLeft={goBack} />
      <div className='container'>
        <Empty description="暂无人发单" />
      </div>
    </div>
  );
}
